package com.ruoyi.school.homework.controller;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.utils.ShiroUtils;
import org.apache.shiro.SecurityUtils;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/school/homework")
public class StudentHomeworkController
{
    private String prefix = "school/homework";

    @RequestMapping("/student")
    public String index(Model m)
    {

        // 取身份信息
        SysUser user = ShiroUtils.getSysUser();

        // 查询当前用户所属的班级



        // 根据班级查询班级作业


        // 查询当前用户完成进度

        return "student_homework_index";
    }
}
